import { HttpException } from '@exceptions/http.exception';

export class RoleNotFoundException extends HttpException {
  constructor(message: string = '角色不存在') {
    super(404, message);
  }
}

export class RoleExistedException extends HttpException {
  constructor(message: string = '角色已存在') {
    super(409, message);
  }
}
